package com.youhome.service.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by chen365 on 2018/07/05.
 * 人口年龄结构
 */
@Data
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
@ApiModel
public class PopulationAgeItemResult {
    @ApiModelProperty(notes = "族裔平均年龄")
    private RaceItemResult race;

    @ApiModelProperty(notes = "年龄组百分比")
    private AgeResult age;

    @ApiModelProperty(notes = "性别平均年龄")
    private GenderItemResult gender;

    @ApiModelProperty(notes = "年龄中值")
    private Double median;
}
